package com.buu.manager.service.impl;

import com.buu.manager.dao.StudyProcessInfoDao;
import com.buu.manager.dao.StudyResourceDao;
import com.buu.manager.domain.StudyProcessInfoDO;
import com.buu.manager.domain.StudyResourceDO;
import com.buu.manager.service.StudyProcessInfoService;
import com.buu.manager.service.StudyResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 学习资源服务
 */
@Service
public class StudyProcessInfoServiceImpl implements StudyProcessInfoService {

    @Autowired
    private StudyProcessInfoDao studyProcessInfoDao;


    @Override
    public int save(StudyProcessInfoDO obj) {
        return studyProcessInfoDao.save(obj);
    }

    @Override
    public StudyProcessInfoDO get(Map<String, Object> params) {
        return studyProcessInfoDao.get(params);
    }

    @Override
    public int update(StudyProcessInfoDO obj) {
        return studyProcessInfoDao.update(obj);
    }
}
